package com.machine.filling.base;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;


/**
 * Created by sperfan on 2017/12/15.
 *
 * @描述: 最简单的基础activity
 */

public abstract class SimpleBaseActivity extends AppCompatActivity implements IView {
    protected Activity mActivity;

    protected Context mContext;
    protected Intent mIntent;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mContext = this;
        mActivity = this;
        mIntent = getIntent();

        initViews();
        initDatas();
    }

}
